package com.liu.design.structure.bridge;

/**
 * @author LIU
 * @version 1.0
 * @date 2024/5/6 16:56
 * @description TODO
 */
public abstract class Phone implements Brand {
    private Brand brand;

    public Phone(Brand brand) {
        this.brand = brand;
    }

    @Override
    public void open() {
        brand.open();
    }

    @Override
    public void close() {
        brand.close();
    }

    @Override
    public void call() {
        brand.call();
    }
}
